import instance from '@/utils/request';

//公共字典明细列表
export function getdictionarysapi(data) {
    return instance.request({
        url: "api/Dictionary/GetResponseList",//http://localhost:56212/api/Dictionary/GetResponseList?id=1
        method: "post",
        data
    })
}

//公共字典明细新增
export function adddictionarysapi(data) {
    return instance.request({
        url: "api/Dictionary/AddSystemSetDetail",
        method: "post",
        data
    })
}

//公共字典明细状态修改
export function updatedictionarysapi(data) {
    return instance.request({
        url: "api/Dictionary/UpdateDetailState",
        method: "post",
        data
    })
}

//反填公共字典明细
export function getdictionarysinfoapi(data) {
    return instance.request({
        url: "api/Dictionary/GetSystemSetDetail",
        method: "post",
        data
    })
}

//修改公共字典明细
export function updatedictionarysinfoapi(data) {
    return instance.request({
        url: "api/Dictionary/UpdateSystemSetDetail",
        method: "post",
        data
    })
}
//同步缓存
export function Synchronizationapi() {
    return instance.request({
        url: "api/Dictionary/Synchronization",
        method: "post",
    })
}